home *** CD-ROM | disk | FTP | other *** search
- Path: news2.near.net!ceylon!news
- From: Brenda <g051286>
- Newsgroups: comp.lang.c
- Subject: Re: What is &Variable (declared as: char Variable[10])?
- Date: 1 Mar 1996 18:49:02 GMT
- Organization: GTE Laboratories Incorporated
- Message-ID: <4h7gqu$lce@ceylon.gte.com>
- References: <4gqpa1$3h9@alcor.usc.edu> <4gtab6$acb@ceylon.gte.com> <313318b8.53776146@nntp.ix.netcom.com> <4h1u9d$sqq@ceylon.gte.com> <4h4kp8INNse4@anvil.ugrad.cs.ubc.ca>
- NNTP-Posting-Host: 138.83.53.101
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.05 9000/712)
- X-URL: news://132.197.8.2/4h4kp8INNse4@anvil.ugrad.cs.ubc.ca
-
- c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku) wrote:
- >In article <4h1u9d$sqq@ceylon.gte.com>, Brenda <g051286> wrote:
- >>(from "A Book On C", Kelley & Pohl, pg 200)
- > ^^^^^^^
- >>Constructs not to be pointed at:
- >
- >Brenda, why don't you get a copy of the Kernighan and Ritchie book, _The C
- >Programming Language_, second edition?
- >
- >By page 200, K&R2 is well into the Appendix A, which will dispel all the myths
- >you have been led to believe.
- >
- >Really, what is the point of having any other C book (other than the IS
- >document---another highly recommended volume. The library of a large university
- >will likely have this, though they may not let you borrow it! :)
- >
- >--
- >
-
- Ok, I will be holding a book burning - anyone wishing to bring a copy of
- "A Book on C" is cordially invited. This book isn't outdated (copyrights of
- 1984 and 1990, and I have the 2nd edition), it's just wrong - as was so
- clearly pointed out to me by more knowledgeable posters. This is the text
- that was utilized in my university and if any of the other students took
- phrases like:
- "In C, a string is an array of characters, and an array name by
- itself is a pointer.... A pointer is just an address of an object
- in memory..." (pg. 29)
- then I fear more than I have been misled. Arrays are referred to as "fixed"
- or "constant" pointers throughout this book and since I have had that
- falsehood reinforced in classes apart from my university, I accepted this as
- true. But anyway, thanks for the constructive criticism and helpful advice.
-
- Brenda
-
-